using UnityEngine;
using System.Collections.Generic;
using System.Collections;

public class Program : ShipProgram {
	/// <summary>
	/// Use this method to setup star up of your ship
	/// </summary>	
	public override void Start() {
		TextTerminal.Clear();
		TextTerminal.AddMessage("Hello world!\n Print 'help' to get list of available commands");
	}

	/// <summary>
	/// This method is called every server tick. deltaTime - time between ticks
	/// </summary>
	/// <param name="deltaTime"></param>
	public void Update(float deltaTime) {
		
	}

	/// <summary>
	/// Or you can use this method to run iteratively
	/// </summary>
	//public IEnumerator Update(float deltaTime) {
	//	yield return null;
	//}

	/// <summary>
	/// Use this method to process user input from console
	/// </summary>
	public override void ConsoleInput(string input) {
		base.ConsoleInput(input); //Remove this if you do not want to use standard console commands
	}

	/// <summary>
	/// Use it to save all your data to filesystem.
	/// Called when ship is destroyed, or when server is shutting down.
	/// </summary>
	public override void OnProgramShutdown() {

	}
}
